package Demo1;

public class ObjectDemo {
    public static void main(String[] args) {
        Complex c1=new Complex();
        c1.setReal(2);
        c1.setImaginary(3);
        Complex c2=new Complex();
        c2.setReal(3);
        c2.setImaginary(4);
        IOperator o=new OpratorComlexImp1();
        o.addition(c1,c2);
        o.subtraction(c1,c2);
    }
}
